ABC135 C - City Savers
提出
code: python
n = int(input())
a = list(map(int,input().split()))
b = list(map(int,input().split()))
ans = 0
for i in range(n):
# i番目を戦士iが全部倒せた
if (tmp < 0):
# i+1番目を戦士iの余力で全部倒せた
if (tmp2 < 0):
else:
ans += abs(tmp)
else:
print(ans)